The Next Stage of Staging
نویسندگان
چکیده
This position paper argues for type-level metaprogramming, wherein types and type declarations are generated in addition to program terms. Term-level metaprogramming, which allows manipulating expressions only, has been extensively studied in the form of staging, which ensures static type safety with a clean semantics with hygiene (lexical scoping). However, the corresponding development is absent for type manipulation. We propose extensions to staging to cover ML-style module generation and show the possibilities they open up for type specialization and overhead-free parametrization of data types equipped with operations. We outline the challenges our proposed extensions pose for semantics and type safety, hence offering a starting point for a long-term program in the next stage of staging research. The key observation is that type declarations do not obey scoping rules as variables do, and that in metaprogramming, types are naturally prone to escaping the lexical environment in which they were declared. This sets next-stage staging apart from dependent types, whose benefits and implementation mechanisms overlap with our proposal, but which does not deal with type-declaration generation. Furthermore, it leads to an interesting connection between staging and the logic of definitions, adding to the study’s theoretical significance.
منابع مشابه
نقش پاراآئورتیک لنفادنکتومی در مرحله یک سرطان تخمدان
Background: Surgical staging is the standard treatment of ovarian cancer. Pelvic and para-aortic lymphadenectomy is the important part of the surgery. The aim of this study was to evaluate the effect of para aortic lymph node dissection in early stage of patients with ovarian cancer. Methods: This descriptive cross-sectional cohort study was performed on all stage I of ovarian cancer pati...
متن کاملA Tentative Staging of Multiple Myeloma by Utilizing Respective Coefficients of Prognostic Factors
Introduction: Multiple myeloma is a heterogeneous disease with different survival times among patients. Accurate prediction of prognosis in multiple myeloma is essential, as patients with a shorter survival time may require early bone marrow transplantation (BMT) and more advanced chemotherapy as a part of their first-line treatment. In the present study, a parameter, depicted by ga...
متن کاملA Tentative Staging of Multiple Myeloma by Utilizing Respective Coefficients of Prognostic Factors
Introduction: Multiple myeloma is a heterogeneous disease with different survival times among patients. Accurate prediction of prognosis in multiple myeloma is essential, as patients with a shorter survival time may require early bone marrow transplantation (BMT) and more advanced chemotherapy as a part of their first-line treatment. In the present study, a parameter, depicted by ga...
متن کاملStaging of Laryngeal and Hypopharyngeal Cancer: Computed Tomography versus Histopathology
Introduction: Computed tomography (CT) imaging is the choice of investigation for evaluation of extent of tumor under the mucosa, locally and regionally. This study was undertaken to assess the accuracy of preoperative CT imaging in the staging of carcinoma of the larynx and hypopharynx. Materials and Methods: In this retrospective study, all cases who were clinically (c) staged T3–T4 and w...
متن کاملHistological grading and staging of liver and its relation to viral loads in chronic anti-HBe positive hepatitis
Background: Hepatitis activity index (HAI) and fibrosing stage are two important findings during the evaluation of liver samples in patients with chronic hepatitis B. The aim of this study was to determine the HAI and fibrosing stage in patients with anti-HBe positive chronic hepatitis B. Methods: Liver biopsy slides of 72 patients were evaluated at the Department of Pathology in two teaching ...
متن کامل